<?php
/**
 * Created by PhpStorm.
 * User: miidi
 * Date: 2018/7/18
 * Time: 11:36
 */

namespace app\api\model;


class Banner extends BaseModel
{
  //protected $hidden = ['type_house_id', 'desc', 'from', 'id'];
  protected $autoWriteTimestamp = 'datetime';

  //image 表  url 字段 attr 属性

//  public function getUrlAttr($value, $data)
//  {
//    return $this->prefixImgUrl($value, $data);
//  }
}